IMPORT=[
import java.io.IOException;
import java.util.Vector;
]E-IMPORT
VAR=[
int count = 0 ;
long sum = 0 ;
]E-VAR

BEGIN=[
FS=", ";
System.out.println("begin of the awk, " );
]E-BEGIN

BODY=[
System.out.println( args[0] ) ;
sum+= getLong(args[0]) ;
count++ ;
System.out.println($0);
]E-BODY

 

FUN=[

]E-FUN

END=[
System.out.println("end, sum" + sum +", total lines " + count);
info("end, sum" + sum +", total lines " + count);

]E-END
